package com.yt.system.dao;

import com.yt.system.domain.AccountVote;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface AccountVoteMapper {
    int deleteByPrimaryKey(Integer vaid);

    int insert(AccountVote record);

    int insertSelective(AccountVote record);

    AccountVote selectByPrimaryKey(Integer vaid);

    int updateByPrimaryKeySelective(AccountVote record);

    int updateByPrimaryKey(AccountVote record);

    AccountVote selectByActidAndAid(@Param("aid") Integer aid, @Param("actid") Integer actid);
}